package com.ting.test.enums;

public enum HttpEnum {
	
	SUCCESS("200","成功"),
	DUPLICATE_REQUEST("400","重复请求"),
	INVALID_REQUEST("401","请求校验失败"),
	SERVICE_REJECT("403","服务限流"),
	SERVICE_BUSY("500","系统繁忙"),
	UNKNOW("502","其他失败");
	
	
	private HttpEnum(String code, String message) {
		this.code = code;
		this.message = message;
	}
	String code;
	String message;
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	
	
}
